package com.qf.bean;

import java.io.Serializable;
import java.util.List;

public class Role  implements Serializable {
    private Integer roleid;

    private String rname;

    private Integer deptid;

    private String content;
    private String desc;
    private String rolenum;

    private Integer state;

    private Dept dept;
    private List<Menu> menuList;
    private List<Menu> permissionList;

    public List<Menu> getPermissionList() {
        return permissionList;
    }

    public void setPermissionList(List<Menu> permissionList) {
        this.permissionList = permissionList;
    }

    private List<Employee> employeeList;
private List<Integer> menuidsList;

    public List<Integer> getMenuidsList() {
        return menuidsList;
    }

    public void setMenuidsList(List<Integer> menuidsList) {
        this.menuidsList = menuidsList;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Role{" +
                "roleid=" + roleid +
                ", rname='" + rname + '\'' +
                ", deptid=" + deptid +
                ", content='" + content + '\'' +
                ", desc='" + desc + '\'' +
                ", rolenum='" + rolenum + '\'' +
                ", state=" + state +
                ", dept=" + dept +
                ", menuList=" + menuList +
                ", permissionList=" + permissionList +
                ", employeeList=" + employeeList +
                ", menuidsList=" + menuidsList +
                '}';
    }

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getRolenum() {
        return rolenum;
    }

    public void setRolenum(String rolenum) {
        this.rolenum = rolenum;
    }
    public List<Menu> getMenuList() {
        return menuList;
    }

    public void setMenuList(List<Menu> menuList) {
        this.menuList = menuList;
    }

    public List<Employee> getEmployeeList() {
        return employeeList;
    }

    public void setEmployeeList(List<Employee> employeeList) {
        this.employeeList = employeeList;
    }

    public Integer getRoleid() {
        return roleid;
    }

    public void setRoleid(Integer roleid) {
        this.roleid = roleid;
    }

    public String getRname() {
        return rname;
    }

    public void setRname(String rname) {
        this.rname = rname == null ? null : rname.trim();
    }

    public Integer getDeptid() {
        return deptid;
    }

    public void setDeptid(Integer deptid) {
        this.deptid = deptid;
    }
}